import axios from 'axios';
import {API_NEW_VERSION} from '../api';

const FUND_MEB_INFOFEE_SET_GET_ONE = API_NEW_VERSION + 'fundmeb/infofeeset/get_one';
const FUND_MEB_INFOFEE_SET_BY_ID = API_NEW_VERSION + 'fundmeb/infofeeset/by';

export const getOne = (param) => {
  return axios.get(FUND_MEB_INFOFEE_SET_GET_ONE, {params: param});
};

export const modify = (id, source) => {
  return axios.post(FUND_MEB_INFOFEE_SET_BY_ID + '/' + id, source);
};
